package com.region.loadbalancer.monitor.event;

import com.region.loadbalancer.group.GroupServer;

/**
 * Abstract Template Process
 *
 * @author liujieyu
 * @date 2023/5/25 23:35
 * @desciption
 */
abstract class AbstractEvent implements Event {

    private GroupServer groupServer;

    public AbstractEvent(GroupServer groupServer) {
        this.groupServer = groupServer;
    }

    @Override
    public void run() {
        this.event(this.groupServer);
    }
}
